﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo1
{
    class car
    {

        private string name;
        private string color;
        private int wheel;
        private string run;
       

        //public car(string name, string color, string wheel, string run)
        //{
        //    this.name = name;
        //    this.color = color;
        //    this.wheel = wheel;
        //    this.run = run;
        //}

        public void setname(string name)
        {
            this.name = name;
        }

        public String getName()
        {
            return name;
        }

        public void setcolor(String color)
        {
            this.color = color;
        }
        public string getcolor()
        {
            return color;
        }

        public void setwheel(int wheel)
        {
            this.wheel = wheel;
        }
        public int getwheel()
        {
            return wheel;
        }

        public void setrun(String run)
        {
            this.run = run;
        }
        public string getrun()
        {
            return run;
        }


    }
}
